from django.contrib import admin
from django.urls import path
from detect.src.views import upload,inference
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
    path('upload/', upload.uploadView, name='upload'),
    path('inference/', inference.ImgInference),
    path('hintbox/', upload.hintbox),
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)